﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FXnaEngine
{
    /// <summary>
    /// Interface for game messages
    /// </summary>
    public interface IMessage:IPoolItem
    {
        /// <summary>
        /// The type of the message
        /// </summary>
        MessageType Type
        {
            get;
        }

        Int64 UniqueTarget
        {
            get;
        }

        MessageProtocol Protocol
        {
            get;
        }

        void TypeCheck(Object message);

    }
}
